+2006-06-16 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkprintoperation-unix.c (handle_print_response): When starting
+ a preview from the print dialog, set the action to PREVIEW.
+
+ * gtk/gtkprintoperation.c: Cosmetic changes.
+
2006-06-16 Matthias Clasens <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Mark the preview filename
+2006-06-16 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkprintoperation-unix.c (handle_print_response): When starting
+ a preview from the print dialog, set the action to PREVIEW.
+
+ * gtk/gtkprintoperation.c: Cosmetic changes.
+
2006-06-16 Matthias Clasens <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Mark the preview filename
rdata->result = GTK_PRINT_OPERATION_RESULT_APPLY;
rdata->do_preview = TRUE;
rdata->do_print = TRUE;
+
+ rdata->op->priv->action = GTK_PRINT_OPERATION_ACTION_PREVIEW;
}
if (rdata->do_print)
gint page, start, end, inc;
- gboolean initialized;
-
GtkWidget *progress;
+ gboolean initialized;
gboolean is_preview;
} PrintPagesData;
data = g_new0 (PrintPagesData, 1);
data->op = g_object_ref (op);
- data->is_preview = (op->priv->action == GTK_PRINT_OPERATION_ACTION_PREVIEW);
+ data->is_preview = (priv->action == GTK_PRINT_OPERATION_ACTION_PREVIEW);
if (priv->show_progress)
{
g_signal_emit_by_name (op, "preview",
GTK_PRINT_OPERATION_PREVIEW (op),
- op->priv->print_context,
+ priv->print_context,
parent,
&handled);